inherited FPesquisaResumoFinanceiro: TFPesquisaResumoFinanceiro
  Left = 520
  Top = 105
  Width = 527
  Height = 548
  Caption = 'Pesquisa Resumo Financeiro'
  OldCreateOrder = True
  PixelsPerInch = 96
  TextHeight = 16
  inherited Panel1: TPanel
    Width = 517
    Height = 468
    Align = alNone
    object Label3: TLabel [0]
      Left = 4
      Top = 150
      Width = 141
      Height = 16
      Caption = 'Classifica'#231#227'o Financeira'
    end
    object Label9: TLabel [1]
      Left = 4
      Top = 106
      Width = 60
      Height = 16
      Caption = '1'#176' Per'#237'odo'
    end
    object Label6: TLabel [2]
      Left = 112
      Top = 128
      Width = 7
      Height = 16
      Caption = 'a'
    end
    object Label5: TLabel [3]
      Left = 245
      Top = 106
      Width = 60
      Height = 16
      Caption = '2'#176' Per'#237'odo'
    end
    object Label7: TLabel [4]
      Left = 354
      Top = 128
      Width = 7
      Height = 16
      Caption = 'a'
    end
    object Label10: TLabel [5]
      Left = 4
      Top = 263
      Width = 59
      Height = 16
      Caption = 'Empresas'
    end
    object SpeedButton1: TSpeedButton [6]
      Tag = 1
      Left = 486
      Top = 166
      Width = 26
      Height = 25
      Caption = '-->'
      OnClick = SpeedButton1Click
    end
    object Label16: TLabel [7]
      Left = 4
      Top = 193
      Width = 94
      Height = 16
      Caption = 'Centro de Custo'
    end
    object SpeedButton3: TSpeedButton [8]
      Tag = 1
      Left = 486
      Top = 210
      Width = 26
      Height = 25
      Caption = '-->'
      OnClick = SpeedButton3Click
    end
    object Label21: TLabel [9]
      Left = 4
      Top = 58
      Width = 90
      Height = 16
      Caption = 'Autorizado Por:'
    end
    inherited btnPesquisar: TBitBtn
      TabOrder = 12
    end
    inherited lbResultado: TStaticText
      TabOrder = 13
    end
    object EGrupoConta: TEdit
      Left = 4
      Top = 28
      Width = 56
      Height = 22
      TabOrder = 0
    end
    object EGrupoFinanceiro: TEdit
      Left = 90
      Top = 28
      Width = 56
      Height = 22
      TabOrder = 1
    end
    object DEDataIni1: TDateEdit
      Left = 4
      Top = 123
      Width = 107
      Height = 26
      ButtonWidth = 26
      NumGlyphs = 2
      TabOrder = 4
    end
    object DEDataFim1: TDateEdit
      Left = 123
      Top = 123
      Width = 107
      Height = 26
      ButtonWidth = 26
      NumGlyphs = 2
      TabOrder = 5
    end
    object DEDataIni2: TDateEdit
      Left = 245
      Top = 123
      Width = 107
      Height = 26
      ButtonWidth = 26
      NumGlyphs = 2
      TabOrder = 6
    end
    object DEDataFim2: TDateEdit
      Left = 367
      Top = 123
      Width = 107
      Height = 26
      ButtonWidth = 26
      NumGlyphs = 2
      TabOrder = 7
    end
    object RGIndicacao: TRadioGroup
      Left = 210
      Top = 4
      Width = 303
      Height = 76
      Caption = 'Indica'#231#227'o p/ analise'
      Columns = 2
      ItemIndex = 0
      Items.Strings = (
        'Comparativo'
        'M'#233'dia 2'#176' Per'#237'odo'
        'S'#243' 1'#176' Per'#237'odo')
      TabOrder = 2
      OnClick = RGIndicacaoClick
    end
    object CkBTodasEmpresas: TCheckBox
      Left = 4
      Top = 239
      Width = 145
      Height = 21
      Caption = 'Todas as Empresas'
      TabOrder = 10
      OnClick = CkBTodasEmpresasClick
    end
    object CLBEmpresas: TCheckListBox
      Left = 1
      Top = 417
      Width = 515
      Height = 50
      Align = alBottom
      Columns = 1
      ItemHeight = 16
      TabOrder = 11
    end
    object DBLCBPlano: TDBLookupComboBox
      Left = 4
      Top = 167
      Width = 470
      Height = 22
      DataField = 'LANC_PLANO'
      KeyField = 'CODIGO'
      ListField = 'DESCRICAO'
      ListSource = DSPlano
      TabOrder = 8
      OnKeyDown = DBLCBPlanoKeyDown
    end
    object DBLCBCentroCusto: TDBLookupComboBox
      Left = 4
      Top = 209
      Width = 470
      Height = 22
      KeyField = 'CODIGO'
      ListField = 'DESCRICAO'
      ListSource = DSCentro
      TabOrder = 9
      OnKeyDown = DBLCBPlanoKeyDown
    end
    object ChBPlanoSintetico: TCheckBox
      Left = 187
      Top = 239
      Width = 287
      Height = 21
      Caption = 'Apenas Classifica'#231#227'o Sint'#233'tica'
      TabOrder = 14
    end
    object dblAutorizante: TDBLookupComboBox
      Left = 4
      Top = 74
      Width = 194
      Height = 22
      DataField = 'AUTORIZANTE'
      KeyField = 'USU_CODIGO'
      ListField = 'USU_NOME'
      ListSource = dsUsuario
      TabOrder = 3
    end
    object rbModelo1: TRadioButton
      Left = 404
      Top = 239
      Width = 90
      Height = 21
      Caption = 'Modelo 1'
      Checked = True
      TabOrder = 15
      TabStop = True
    end
    object rbModelo2: TRadioButton
      Left = 404
      Top = 260
      Width = 90
      Height = 17
      Caption = 'Modelo 2'
      TabOrder = 16
    end
  end
  inherited Panel2: TPanel
    Width = 517
    Align = alNone
  end
  object RLReport1: TRLReport [2]
    Left = 10
    Top = 542
    Width = 794
    Height = 1123
    DataSource = dsResumoFinanceiro
    Font.Charset = DEFAULT_CHARSET
    Font.Color = clBlack
    Font.Height = -16
    Font.Name = 'Arial'
    Font.Style = []
    object RLBand2: TRLBand
      Left = 38
      Top = 38
      Width = 718
      Height = 21
      BandType = btColumnHeader
      Font.Charset = DEFAULT_CHARSET
      Font.Color = clBlack
      Font.Height = -13
      Font.Name = 'Arial'
      Font.Style = [fsBold]
      ParentFont = False
      object RLLabel3: TRLLabel
        Left = 2
        Top = 0
        Width = 87
        Height = 16
        Caption = 'Classifica'#231#227'o'
      end
      object RLLabel4: TRLLabel
        Left = 337
        Top = 0
        Width = 108
        Height = 16
        Caption = 'Valor 1'#186' Per'#237'odo'
      end
      object RLLabel5: TRLLabel
        Left = 505
        Top = 0
        Width = 108
        Height = 16
        Caption = 'Valor 2'#186' Per'#237'odo'
      end
      object rlVarTitulo2: TRLLabel
        Left = 818
        Top = 0
        Width = 61
        Height = 16
        Alignment = taRightJustify
        Caption = 'Varia'#231#227'o'
      end
      object rlVarTitulo: TRLLabel
        Left = 641
        Top = 0
        Width = 113
        Height = 16
        Alignment = taRightJustify
        Caption = 'M'#233'dia 2'#186' Per'#237'odo'
      end
    end
    object RLBand3: TRLBand
      Left = 38
      Top = 97
      Width = 718
      Height = 20
      BandType = btSummary
      Font.Charset = DEFAULT_CHARSET
      Font.Color = clBlack
      Font.Height = -13
      Font.Name = 'Arial'
      Font.Style = [fsBold]
      ParentFont = False
      BeforePrint = RLBand3BeforePrint
      object qrlDescricaoParamentro: TRLLabel
        Left = 150
        Top = 0
        Width = 158
        Height = 16
        Alignment = taRightJustify
      end
      object qrlValorParamentro: TRLLabel
        Left = 318
        Top = 0
        Width = 130
        Height = 16
        Alignment = taRightJustify
      end
    end
    object RLBand4: TRLBand
      Left = 38
      Top = 59
      Width = 718
      Height = 18
      Font.Charset = DEFAULT_CHARSET
      Font.Color = clBlack
      Font.Height = -13
      Font.Name = 'Arial'
      Font.Style = []
      ParentFont = False
      BeforePrint = RLBand4BeforePrint
      object RLLabel7: TRLLabel
        Left = 0
        Top = 0
        Width = 58
        Height = 16
        BeforePrint = RLLabel7BeforePrint
      end
      object RLDBText3: TRLDBText
        Left = 335
        Top = 0
        Width = 114
        Height = 16
        Alignment = taRightJustify
        DataField = 'VALOR1PERIODO'
        DataSource = dsResumoFinanceiro
      end
      object rlValorPeriodo2: TRLDBText
        Left = 503
        Top = 0
        Width = 114
        Height = 16
        Alignment = taRightJustify
        DataField = 'VALOR2PERIODO'
        DataSource = dsResumoFinanceiro
      end
      object rlMediaPeriodo2: TRLDBText
        Left = 657
        Top = 0
        Width = 97
        Height = 16
        Alignment = taRightJustify
        DataSource = dsResumoFinanceiro
      end
      object rlVariacao: TRLDBText
        Left = 809
        Top = 0
        Width = 71
        Height = 16
        Alignment = taRightJustify
        DataField = 'VARIACAO'
        DataSource = dsResumoFinanceiro
        BeforePrint = rlVariacaoBeforePrint
      end
    end
    object RLBand5: TRLBand
      Left = 38
      Top = 77
      Width = 718
      Height = 20
    end
  end
  inherited QPesquisa: TQuery
    SQL.Strings = (
      
        'Select PlanoContas.Estrutura as Estrutura ,PlanoContas.Descricao' +
        ' as Descricao,PlanoContas.CodPai as Pai, Sum(Lanc_Valor) as Valo' +
        'r'
      
        'from ContaCorrente Inner join ( lancamento  Left Join  planoCont' +
        'as on Lanc_Plano = PlanoContas.Codigo ) on Cont_corr_Codigo = la' +
        'nc_Conta'
      
        'Group by  PlanoContas.Estrutura,PlanoContas.Descricao,PlanoConta' +
        's.CodPai'
      '')
    Left = 304
    Top = 185
  end
  inherited DSPesquisa: TDataSource
    DataSet = nil
    Left = 344
    Top = 185
  end
  object QAux: TQuery
    DatabaseName = 'base'
    Left = 229
    Top = 186
  end
  object QResumoFinanceiro: TQuery
    DatabaseName = 'baseLocal'
    RequestLive = True
    SQL.Strings = (
      'Select * from ResumoFinanceiro')
    Left = 109
    Top = 186
  end
  object QAux2: TQuery
    DatabaseName = 'baseLocal'
    Left = 189
    Top = 186
  end
  object DSPlano: TDataSource
    DataSet = DMFinanceiro.QPlano
    Left = 256
    Top = 128
  end
  object DSCentro: TDataSource
    DataSet = DMFinanceiro.QCentro
    Left = 128
    Top = 152
  end
  object dsUsuario: TDataSource
    DataSet = DMGestao.QUsuario
    Left = 104
    Top = 304
  end
  object QParametro: TQuery
    DatabaseName = 'base'
    SQL.Strings = (
      'SELECT * FROM PARAMETRO')
    Left = 32
    Top = 192
  end
  object dsResumoFinanceiro: TDataSource
    DataSet = QResumoFinanceiro
    Left = 496
    Top = 192
  end
  object QRelatorio: TQuery
    CachedUpdates = True
    DatabaseName = 'base'
    SQL.Strings = (
      'Select * from PlanoContas')
    Left = 560
    Top = 56
  end
  object Query1: TQuery
    DatabaseName = 'baseLocal'
    SQL.Strings = (
      'Select * from ResumoFinanceiro'
      'Order By Estrutura')
    Left = 552
    Top = 112
  end
  object Q2: TQuery
    DatabaseName = 'baseLocal'
    SQL.Strings = (
      'Select * from ResumoFinanceiro'
      'Order By Estrutura')
    Left = 552
    Top = 176
  end
  object RLXLSFilter1: TRLXLSFilter
    DisplayName = 'Planilha Excel'
    Left = 200
    Top = 344
  end
  object RLPDFFilter1: TRLPDFFilter
    DocumentInfo.Creator = 'FortesReport v3.23 \251 Copyright '#169' 1999-2004 Fortes Inform'#225'tica'
    ViewerOptions = []
    FontEncoding = feNoEncoding
    DisplayName = 'Documento PDF'
    Left = 272
    Top = 344
  end
end
